from PyQt4 import QtGui, QtCore

class QDownloadProgress(QtGui.QWidget):
	
	def __init__(self, parent=None):
		super(QDownloadProgress, self).__init__(parent)
		self.setMaximumHeight(40)
		
		font = QtGui.QFont()
		font.setBold(True)
		font.setPixelSize(12)
		self.lblInfo = QtGui.QLabel(self.tr("Download Information"))
		self.lblInfo.setFont(font)
		self.lblInfo.setMaximumWidth(200)
		
		self.pgbProgress = QtGui.QProgressBar()
		self.pgbProgress.setTextVisible(True)
		self.pgbProgress.setValue(63)
		
		self.lblEstimatedTime = QtGui.QLabel(self.tr("Estimated Time!"))
		self.lblEstimatedTime.setFont(font)
		self.lblEstimatedTime.setFixedWidth(100)
		
		self.spliter = QtGui.QSplitter(self)
		self.spliter.addWidget(self.lblInfo)
		self.spliter.addWidget(self.pgbProgress)
		self.spliter.addWidget(self.lblEstimatedTime)
		
		self.lay = QtGui.QHBoxLayout()
		self.lay.addWidget(self.spliter)
		self.lay.setMargin(0)
		
		self.setLayout(self.lay)

if __name__ == "__main__":
	import sys
	app = QtGui.QApplication(sys.argv)
	d = QtGui.QDialog()
	d.setFixedWidth(700)
	lay = QtGui.QHBoxLayout()
	dp = QDownloadProgress()
	lay.addWidget(dp)
	d.setLayout(lay)
	sys.exit(d.exec_())